namespace NFreeMarker.Template
{
    public static class TransformControl
    {
        /// <summary>
        /// Constant returned from <see cref="ITransformControl.AfterBody"/> that tells the
        /// template engine to repeat transform body evaluation and feed
        /// it again to the transform. 
        /// </summary>
        public const int RepeatEvaluation = 0;

        /// <summary>
        /// Constant returned from <see cref="ITransformControl.AfterBody"/> that tells the
        /// template engine to end the transform and close the writer.
        /// </summary>
        public const int EndEvaluation = 1;

        /// <summary>
        /// Constant returned from <see cref="ITransformControl.OnStart"/> that tells the
        /// template engine to skip evaluation of the body.
        /// </summary>
        public const int SkipBody = 0;

        /// <summary>
        /// Constant returned from <see cref="ITransformControl.OnStart"/> that tells the
        /// template engine to evaluate the body.
        /// </summary>
        public const int EvaluateBody = 1;
    }
}